package com.itheima.smspringboot.entity;



import java.time.LocalDate;

public class Student {
    private Integer stuId;  // 自动映射数据库字段 stu_id
    private String stuName; // 自动映射 stu_name
    private String stuSex = "男"; // 自动映射 stu_sex
    private LocalDate birthday; // 自动映射 birthday
    private String phone; // 自动映射 phone
    private Integer classId; // 自动映射 class_id
    private String className;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }
}
